﻿using System.Collections.Generic;
using UnityEngine;

public class UIVariableHelper : MonoBehaviour
{
    [SerializeField]
    protected List<GameObject> m_Variables;

#if UNITY_EDITOR
    public List<GameObject> Variables { get => m_Variables; set => m_Variables = value; }
#endif

    public List<GameObject> GetVariables()
    {
        return m_Variables;
    }

    public GameObject GetVariable(int idx)
    {
        return m_Variables[idx];
    }

}